package ooday04;
//主人
public class Master {
    void  feed(Animal animal){
        animal.eat();
        animal.drink();
    }
    void feed(Fish fish){ //喂动物
        fish.eat();
        fish.Swim();
        fish.drink();
    }
}
